package POJO;

import org.springframework.stereotype.Repository;

@Repository
public class Company {

	private int id;
	private String name;
	
	public int getId() {
		return id;
	}
	public String getName() {
		return name;
	}
	public void setId(int id) {
		this.id = id;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public void print(){
		System.out.println("------Company--------");
		System.out.println("ID: "+id);
		System.out.println("Name: "+name);
	}
}
